﻿@model SetPassViewModel
@{
    ViewData["Menu"] = 9;
    ViewData["Title"] = "修改密码";
}

<main class="ftdms-layout-content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body">
                        @using (Html.BeginForm(FormMethod.Post, true, new { @class = "site-form" }))
                        {
                            <div class="input-group m-b-10">
                                <span class="input-group-addon">原密码</span>
                                @Html.PasswordFor(m => m.pass0, new { @class="form-control", @required="required" })
                            </div>

                            <div class="input-group m-b-10">
                                <span class="input-group-addon">新密码</span>
                                @Html.PasswordFor(m => m.pass1, new { @class="form-control", @required="required" })
                            </div>

                            <div class="input-group m-b-10">
                                <span class="input-group-addon">新密码确认</span>
                                @Html.PasswordFor(m => m.pass2, new { @class="form-control", @required="required" })
                            </div>
                            <br>

                            <button type="submit" class="btn btn-primary">保存</button>
                            <button type="button" class="btn btn-default" onclick="javascript:history.go(-1);">返回</button>
                        }
                    </div>
                </div>
            </div>
        </div>
    </div>
</main>

